﻿<Window x:Class="PMisuseAn.AddActorAttributeWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Attributes" Height="374" Width="870"
        VerticalAlignment="Top" HorizontalAlignment="Left" ResizeMode="NoResize" Icon="images\title.ico">
    <Grid Width="837" Height="337">
        <Grid.RowDefinitions>
            <RowDefinition Height="27*" />
            <RowDefinition Height="36*" />
            <RowDefinition Height="121*" />
            <RowDefinition Height="61*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="71*" />
            <ColumnDefinition Width="469*" />
        </Grid.ColumnDefinitions>
        <Rectangle Grid.ColumnSpan="2" Grid.RowSpan="4" Height="339" HorizontalAlignment="Left" Margin="-1,0,0,0" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="215" Fill="#FFEEFFFF" StrokeThickness="0" />
        <Label Content="Name:" Height="27" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Margin="-2,3,0,0" />
        <!--<ComboBox Name="att_name_cb" Height="28" HorizontalAlignment="Left" Margin="75,3,0,0" VerticalAlignment="Top" Width="136" IsEditable="True" SelectionChanged="name_cb_selection_changed" KeyUp="key_pressed_name_cb" Grid.ColumnSpan="2" IsTextSearchEnabled="False" BorderBrush="#FFF6F6F6" />-->
        <ComboBox Name="att_name_cb" Height="28" HorizontalAlignment="Left" Margin="75,3,0,0" VerticalAlignment="Top" Width="136" IsEditable="True" SelectionChanged="name_cb_selection_changed" Grid.ColumnSpan="2" IsTextSearchEnabled="False" BorderBrush="#FFF6F6F6" />
        <Label Content="Literal Type:" Grid.Row="2" Height="28" HorizontalAlignment="Left" Margin="1,104,0,0" Name="label2" VerticalAlignment="Top" />
        <RadioButton Content="String" GroupName="literalType" Height="16" HorizontalAlignment="Left" Margin="83,93,0,0" Name="string_l" VerticalAlignment="Top" Grid.Row="2" Grid.ColumnSpan="2" IsChecked="True" />
        <RadioButton Content="Numeric" GroupName="literalType" HorizontalAlignment="Left" Margin="83,112,0,0" Name="numeric_l" Grid.Row="2" Height="16" VerticalAlignment="Top" Grid.ColumnSpan="2" />
        <RadioButton Content="Boolean" Grid.Row="2" GroupName="literalType" Height="16" HorizontalAlignment="Left" Margin="83,129,0,0" Name="boolean_l" VerticalAlignment="Top" Grid.ColumnSpan="2" />
        <!--<Button Style="{StaticResource LinkButton}" Content="Implications" Height="23" HorizontalAlignment="Left" Margin="110,32,0,0" Name="implied_from_to_b" VerticalAlignment="Top" Width="88" Click="implied_from_to_b_Click" Grid.Column="1" Grid.RowSpan="2" />-->
        <Button Style="{StaticResource LinkButton}" Content="Inferences(aggregation/implications)" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="115,13,0,0" Name="aggregates_from_to_b" VerticalAlignment="Top" Width="209" Click="aggregates_from_to_b_Click" />
        <!--<ListBox Height="279" HorizontalAlignment="Left" Margin="106,19,0,0" Name="implied_from_listBox" VerticalAlignment="Top" Width="224" Grid.RowSpan="3" Grid.Column="1" Grid.Row="1" />-->
        <ListBox Grid.Column="1" Height="297" HorizontalAlignment="Left" Margin="106,0,0,0" Name="att_aggregation_listBox" VerticalAlignment="Top" Width="426" Grid.RowSpan="3" Grid.Row="1" />
        <Button Content="OK" Grid.Row="3" Height="23" HorizontalAlignment="Left" Margin="60,52,0,0" Name="ok_actor_att_b" VerticalAlignment="Top" Width="44" Grid.Column="1" Click="ok_actor_att_b_Click" />
        <!--<Label Content="Private (P*):" Height="28" HorizontalAlignment="Left" Name="label3" VerticalAlignment="Top" Margin="-2,30,0,0" Grid.RowSpan="2" />-->
        <!--<RadioButton Content="Yes" GroupName="privateType" Height="16" HorizontalAlignment="Left" Margin="83,35,0,0" Name="yes_p_rd" VerticalAlignment="Top" Grid.RowSpan="2" Grid.ColumnSpan="2" />-->
        <!--<RadioButton Content="No"  GroupName="privateType" Grid.Column="1" Height="16" HorizontalAlignment="Left" Margin="12,35,0,0" Name="no_p_rd" VerticalAlignment="Top" Grid.RowSpan="2" IsChecked="True" />-->
        <!--<TextBox Grid.ColumnSpan="2" Grid.Row="1" Height="30" HorizontalAlignment="Left" Margin="2,15,0,0" Name="textBox1" VerticalAlignment="Top" Width="210" Text="(an actor's attribute for which if inappropriately disclosed can result in the violation of privacy...)" TextWrapping="Wrap" FontSize="9" BorderThickness="0" IsReadOnly="True" />-->
        <TextBox Background="#FFEEFFFF" BorderThickness="0" Height="37" HorizontalAlignment="Left" IsReadOnly="True" Margin="2,3,0,0" Name="textBox2" Text="Obfuscation level:" TextWrapping="Wrap" VerticalAlignment="Top" Width="76" Grid.Row="2" />
        <TextBox BorderThickness="0" FontSize="9" Grid.ColumnSpan="2" Grid.Row="2" Height="20" HorizontalAlignment="Left" IsReadOnly="True" Margin="1,36,0,0" Name="textBox4" Text="(Can uniquely identify an agent...)" TextWrapping="Wrap" VerticalAlignment="Top" Width="211" Background="#FFEEFFFF" />
        <Separator Grid.ColumnSpan="2" Grid.Row="3" Height="1" HorizontalAlignment="Left" Margin="0,45,0,0" Name="separator2" VerticalAlignment="Top" Width="216" />
        <Label Content="Category:" Height="28" HorizontalAlignment="Left" Margin="4,6,0,0" Name="label4" VerticalAlignment="Top" Grid.Row="3" />
        <RadioButton Content="Agent (actor) attr." GroupName="categoryType" Height="16" HorizontalAlignment="Left" Margin="83,7,0,0" Name="categoryAgent" VerticalAlignment="Top" Grid.Row="3" Grid.ColumnSpan="2" IsChecked="True" />
        <RadioButton Content="Environmental attr." GroupName="categoryType" Height="16" HorizontalAlignment="Left" Margin="83,23,0,0" Name="categoryEnvironmental" VerticalAlignment="Top" Grid.Row="3" Grid.ColumnSpan="2" />
        <RadioButton Content="regulatory attr." Grid.Row="2" GroupName="categoryType" Height="16" HorizontalAlignment="Left" Margin="83,156,0,0" Name="categoryRegulatory" VerticalAlignment="Top" Grid.ColumnSpan="2" Grid.RowSpan="2" />
        <Button Content="Attribute domain (instances)" Height="23" HorizontalAlignment="Left" Margin="570,11,0,0" Name="att_domain_b" Style="{StaticResource LinkButton}" VerticalAlignment="Top" Width="154" Grid.Column="1" Click="att_domain_b_Click" />
        <ListBox Height="297" HorizontalAlignment="Left" Margin="531,0,0,0" Name="att_domain_lb" VerticalAlignment="Top" Width="190" Grid.Column="1" Grid.Row="1" Grid.RowSpan="3" />
        <TextBox Style="{StaticResource grey_out_textbox}" Height="49" HorizontalAlignment="Left" Margin="4,0,0,0" Name="att_description" VerticalAlignment="Top" Width="207" Grid.ColumnSpan="2" Grid.Row="1" BorderBrush="#FFF4F4F4" />
        <!--<ListBox Grid.RowSpan="2" Height="127.5" HorizontalAlignment="Left" Margin="531,120,0,0" Name="att_type_of_lb" VerticalAlignment="Top" Width="190" Grid.Column="1" Grid.Row="2" />-->
        <!--<Button Content="Type of" Height="23" HorizontalAlignment="Left" Margin="536,100,0,0" Name="att_type_of_b" Style="{StaticResource LinkButton}" VerticalAlignment="Top" Width="49" Grid.Column="1" Grid.Row="2" Click="att_type_of_b_Click" />-->
        <!--<ComboBox Height="23" HorizontalAlignment="Right" IsEditable="False" IsTextSearchEnabled="True" Margin="0,96,6,0" Name="type_of_cb" VerticalAlignment="Top" Width="140" Grid.Column="1" Grid.Row="2" Background="WhiteSmoke" BorderBrush="#FFF7F7F7" />-->
        <ComboBox Grid.ColumnSpan="2" Height="23" HorizontalAlignment="Right" IsEditable="False" IsTextSearchEnabled="True" Margin="0,62,626,0" Name="attributeValue_cb" VerticalAlignment="Top" Width="125" Grid.Row="2" Background="White" BorderBrush="#FFF7F7F7" SelectedIndex="4">
            <ComboBoxItem Content="veryLow" Tag="veryLow" />
            <ComboBoxItem Content="low" Tag="low" />
            <ComboBoxItem Content="medium" Tag="medium" />
            <ComboBoxItem Content="high" Tag="high" />
            <ComboBoxItem Content="veryHigh" Tag="veryHigh" />
        </ComboBox>
        <TextBox Background="#FFEEFFFF" BorderThickness="0" Height="37" HorizontalAlignment="Left" IsReadOnly="True" Margin="4,54,0,0" Name="textBox1" Text="Sensitivity Level:" TextWrapping="Wrap" VerticalAlignment="Top" Width="68" Grid.Row="2" />
        <ComboBox Background="White" BorderBrush="#FFF7F7F7" Grid.ColumnSpan="2" Height="23" HorizontalAlignment="Right" IsEditable="False" IsTextSearchEnabled="True" Margin="0,11,626,0" Name="obfuscation_level_cb" VerticalAlignment="Top" Width="125" Grid.Row="2" SelectedIndex="0">
            <ComboBoxItem Content="AccuratePrecise" Tag="AccuratePrecise" />
            <ComboBoxItem Content="AccurateImprecise" Tag="AccurateImprecise" />
            <ComboBoxItem Content="InaccuratePrecise" Tag="InaccuratePrecise" />
            <ComboBoxItem Content="InccurateImprecise" Tag="InccurateImprecise" />
        </ComboBox>
    </Grid>
</Window>
